package com.delivery.module;

import java.io.Serializable;

import com.delivery.utils.StringUtils;

public class CategoriesContent implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private int categoriesId;
	private String name;
	private String imgUrl;
	private String contentDesc;
	private String shareAddress;
	private String addTime;
	private String updateTime;
	
	public String getLocalFileUrl(){
		return "/mnt/sdcard/upload/"+StringUtils.subStrIndexOf(this.getImgUrl(),"/");
	}
	public String getAddTime() {
		return addTime;
	}
	public void setAddTime(String addTime) {
		this.addTime = addTime;
	}
	public int getCategoriesId() {
		return categoriesId;
	}
	public void setCategoriesId(int categoriesId) {
		this.categoriesId = categoriesId;
	}
	public String getContentDesc() {
		return contentDesc;
	}
	public void setContentDesc(String contentDesc) {
		this.contentDesc = contentDesc;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getImgUrl() {
		return imgUrl;
	}
	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getShareAddress() {
		return shareAddress;
	}
	public void setShareAddress(String shareAddress) {
		this.shareAddress = shareAddress;
	}
	public String getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
}
